package com.etc.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.etc.entity.Company;
import com.etc.entity.Job;
import com.etc.entity.LayUiData;
import com.etc.entity.RecJoin;
import com.etc.entity.Recruitment;

public interface RecruitmentService {
    
	public List<Recruitment> selectRec();
	
	public List<Recruitment> selectRecByCity(String strLike);
	
	public List<Recruitment> selectRecName(String strLikeName);
	
	public boolean AddRec(Recruitment recruitment);
	
	public boolean selectRecDel(String recName);
	
	public int selectDate(String strDate);
	
	public boolean selectRecUpd(@Param("recState")int recState,@Param("recName")String recName);
	
	public List<Recruitment> selectRecByPage(@Param("keywords")String keywords,
			@Param("start")int start,@Param("limit")int limit);
    
	public List<Integer> selectcomId(Integer recId);
	
	public List<Company> selectcomName(int comId);
	
	public LayUiData<Recruitment> getRecByLike(int page, int limit, String strLike);
	
	public boolean updRec(Recruitment recruitment);

}
